gdk: Avoid 2/3BUTTON event generation if the source device changes
authorCarlos Garnacho <carlosg@gnome.org>
Mon, 22 Feb 2016 21:40:50 +0000 (22:40 +0100)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 24 Feb 2016 01:35:01 +0000 (20:35 -0500)
commit4ff3d5b7a6410272471f8216e87d1b87607f973e
tree44b34d1a3af56b62c3dcbd2132203d1d79c5f299
parent3d700515e191986dddb4e5675ef41af8695a472f
gdk: Avoid 2/3BUTTON event generation if the source device changes

Remember the last source device we're generating multiple clicks for,
just so we can bail out if the device changed. That will just reset
the counting.

https://bugzilla.gnome.org/show_bug.cgi?id=723659
gdk/gdkdisplayprivate.h
gdk/gdkevents.c